package com.liu.manager.service;

import com.liu.manager.bean.ResponseResult;
import com.liu.manager.entity.UserAndRoler;

import java.util.List;

public interface UserAndRolerService {

    ResponseResult insertUserAndRoler(UserAndRoler userAndRoler);

    ResponseResult findByUserId(long userId);

    ResponseResult findById(long id);

    ResponseResult findByRolerId(long rolerId);

    ResponseResult removeById(long id);
}
